<?php
/**
 * Created by PhpStorm.
 * User: lyc
 * Date: 2016/5/21
 * Time: 9:37
 */
class Involved_OpinionModel extends BaseModel
{

    protected $table = 'opinion';
    public function Opinion(array $aData)
    {
        return DB::table($this->table)->insert($aData);
    }

    public function OpinionList()
    {
        return DB::table($this->table)
            ->get();
    }

}